
            <table class="table table-striped table-bordered detail-view ">
                <tbody>
                @foreach($value as $k=>$field)

                    <tr>
                        <td>
                            {{$field['type_name']}}
                            <input type="checkbox" @if($field['is_open']) checked @endif name="{{$name}}[open][]" value="{{$field['type_id']}}">

                        </td>
                        <td>
                        @foreach($field['months'] as $mk=>$month)

                        <input type="checkbox" @if($month['is_check']) checked @endif name="{{$name}}[month][{{$field['type_id']}}][]" value="{{$month['month']}}">
                        {{$month['month_name']}}
                        @endforeach
                        </td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>
